package org.jxht.util;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created by huangwf on 2016/11/16 0016.
 * 服务端用户实体
 */
public class BaseDto implements Serializable{

    public Timestamp loginTime;

    public Timestamp logoutTime;

    public int useYn = 0;

    public BaseDto() {
    }

    public BaseDto(Timestamp loginTime, Timestamp logoutTime) {
        this.loginTime = loginTime;
        this.logoutTime = logoutTime;
    }

    public Timestamp getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Timestamp loginTime) {
        this.loginTime = loginTime;
    }

    public Timestamp getLogoutTime() {
        return logoutTime;
    }

    public void setLogoutTime(Timestamp logoutTime) {
        this.logoutTime = logoutTime;
    }

    public int getUseYn() {
        return useYn;
    }

    public void setUseYn(int useYn) {
        this.useYn = useYn;
    }


    @Override
    public String toString() {
        return "BaseDto{" +
                ", loginTime=" + loginTime +
                ", logoutTime=" + logoutTime +
                '}';
    }
}
